package com.qianji.petmall.authserver.feign;

import com.qianji.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author liang zai
 * @date 2022/3/10 17:28
 * @description
 */
@FeignClient("petmall-third-party")
public interface ThirdPartyFeifnService {
    @PostMapping("/sms/sendCode")
    R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
